package com.ridaizu.model.form;

import java.util.List;

import javax.faces.bean.SessionScoped;

import com.ridaizu.model.Model;
import com.ridaizu.model.TransitDetail;

@javax.faces.bean.ManagedBean(name = "transitDetailForm")
@SessionScoped
public class TransitDetailForm extends Model {

	private static final long serialVersionUID = 1L;

	private String id;

	private String transitId;

	private String goodsId;

	private String count;

	private String price;

	private TransitDetail selectedTransitDetail;

	private List<TransitDetail> selectedTransitDetailList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTransitId() {
		return transitId;
	}

	public void setTransitId(String transitId) {
		this.transitId = transitId;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public TransitDetail getSelectedTransitDetail() {
		return selectedTransitDetail;
	}

	public void setSelectedTransitDetail(TransitDetail selectedTransitDetail) {
		this.selectedTransitDetail = selectedTransitDetail;
	}

	public List<TransitDetail> getSelectedTransitDetailList() {
		return selectedTransitDetailList;
	}

	public void setSelectedTransitDetailList(
			List<TransitDetail> selectedTransitDetailList) {
		this.selectedTransitDetailList = selectedTransitDetailList;
	}

	public void clearAll() {
		this.id = null;
		this.transitId = null;
		this.goodsId = null;
		this.count = null;
		this.price = null;
		this.selectedTransitDetail = null;
		this.selectedTransitDetailList = null;
	}

}
